﻿<%@ Page Title="" Language="C#" MasterPageFile="~/User_center/MainContent.Master"
    AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="IService.User_center.index" %>

<asp:Content ID="title1" ContentPlaceHolderID="TitleContent" runat="server">
    <title>会员中心</title>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="RightMainContent" runat="server">
   <script type="text/javascript">
        function viewcontent(supplyPurchaseId) {
            window.open("ViewMySupplyPurchase.aspx?SupplyPurchaseId=" + supplyPurchaseId, "", "width=800,height=710,location=0,menubar=0,resizable=1,scrollbars=1,status=0,toolbar=0");
        }
     </script>   
    <div class="mainContent">
        <!-- InstanceBeginEditable name="mainContent" -->
        <div class="mainContainer">
            <div class="breadcrumb">
                数字电视产业服务网 》 会员中心首页
            </div>
            <div class="sectionContainer">
                <p>
                    <span class="textBlock">
                        <asp:Label ID="lblRealUserName2" runat="server" Text="XXXXXX"></asp:Label>&nbsp;
                    </span>您好，欢迎使用数字电视产业服务网
                </p>
                <!-- InstanceBeginEditable name="mainContent" -->
                <h1>
                    <span>会员资料</span><a class="button ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
                        href="EditMyInfo.aspx" role="button"
                        aria-disabled="false"><span class="ui-button-text">修改</span></a>
                </h1>
                <h3>会员基本信息</h3>
                <div id="divUserInfo" runat="server">
                    <p>
                        <label>
                            会员帐号：</label><span class="textBlock">
                                <asp:Label ID="lblUserName" runat="server" Text="XXXXXX"></asp:Label>
                            </span>
                    </p>
                    <p>
                        <label>
                            注册时间：</label><span class="textBlock">
                                <asp:Label ID="lblRegistDateTime" runat="server" Text="XXXXXX"></asp:Label>
                            </span>&nbsp;&nbsp;
                        <label>
                            最近登录时间：</label><span class="textBlock">
                                <asp:Label ID="lblLoginDate" runat="server" Text="XXXXXX"></asp:Label>
                            </span>
                    </p>
                    <p>
                        <label>
                            会员角色：</label>
                        <span class="inputBlock">
                            <asp:CheckBoxList ID="cblUserRole" RepeatDirection="Horizontal" runat="server" Enabled="false">
                                <asp:ListItem Text="产品供应" Value="产品供应"></asp:ListItem>
                                <asp:ListItem Text="产品求购" Value="产品求购"></asp:ListItem>
                                <asp:ListItem Text="二手供应" Value="二手供应"></asp:ListItem>
                                <asp:ListItem Text="二手求购" Value="二手求购"></asp:ListItem>
                                <asp:ListItem Text="技术转让" Value="技术转让"></asp:ListItem>
                                <asp:ListItem Text="技术求购" Value="技术求购"></asp:ListItem>
                            </asp:CheckBoxList>
                        </span>
                    </p>
                </div>
                <div class="sectionArea" id="divUserInfoModify" runat="server">
                    您的基本信息不完整,请完善您的信息！<a href="EditMyInfo.aspx">完善信息</a>
                </div>
                <h3>公司信息</h3>
                <div id="divCompayInfo" runat="server">
                    <p>
                        <label>
                            公司名称：</label>
                        <span class="textBlock">
                            <asp:Label ID="lblCompanyName" runat="server" Text="XXXXXX"></asp:Label>
                        </span>
                    </p>
                    <p>
                        <label>
                            员工人数：</label><span class="textBlock">
                                <asp:Label ID="lblEmployeesTotal" runat="server" Text="XXXXXX"></asp:Label>人
                            </span>
                    </p>
                    <p>
                        <label>
                            成立时间：</label><span class="textBlock">
                                <asp:Label ID="lblFoundedDate" runat="server" Text="XXXXXX"></asp:Label>
                            </span>
                    </p>
                    <p>
                        <label>
                            联系电话：</label>
                        <span class="textBlock">
                            <asp:Label ID="lblCompanyPhone" runat="server" Text="XXXXXX"></asp:Label>
                        </span>
                    </p>
                    <p>
                        <label>
                            公司地址：</label>
                        <span class="textBlock">
                            <asp:Label ID="lblCompanyAddress" runat="server" Text="XXXXXX"></asp:Label>
                        </span>
                    </p>
                    <p>
                        <label>
                            行业分类：</label>
                        <span class="inputBlock">
                            <asp:CheckBoxList ID="cblIndustryClassification" RepeatDirection="Horizontal" runat="server" Enabled="false">
                                <asp:ListItem Text="内容制作" Value="内容制作"></asp:ListItem>
                                <asp:ListItem Text="制播设备" Value="制播设备"></asp:ListItem>
                                <asp:ListItem Text="传输设备" Value="传输设备"></asp:ListItem>
                                <asp:ListItem Text="系统软件" Value="系统软件"></asp:ListItem>
                                <asp:ListItem Text="专业芯片" Value="专业芯片"></asp:ListItem>
                                <asp:ListItem Text="终端产品" Value="终端产品"></asp:ListItem>
                                <asp:ListItem Text="网络运营" Value="网络运营"></asp:ListItem>
                            </asp:CheckBoxList>
                        </span>
                    </p>
<%--                    <p>
                        <label>
                            供应：</label><span class="inputBlock">
                                <asp:TextBox ID="txtSupply" runat="server" TextMode="MultiLine" class="inputInline"
                                    ReadOnly="true" Text="测试服务..."></asp:TextBox>
                            </span>
                    </p>--%>
<%--                    <p>
                        <label>
                            采购：</label><span class="inputBlock">
                                <asp:TextBox ID="txtPurchase" runat="server" TextMode="MultiLine" class="inputInline"
                                    ReadOnly="true" Text="测试服务..."></asp:TextBox>
                            </span>
                    </p>--%>
                    <p>
                        <label>
                            公司简介：</label>
                    </p>
                    <p>
                        <asp:TextBox ID="txtCompanyProfile" runat="server" TextMode="MultiLine" class="inputInline"
                            ReadOnly="true" Text="XX股份有限公司成立于..."></asp:TextBox>
                    </p>
                </div>
                <div class="sectionArea" id="divCompayInfoModify" runat="server">
                    您还没有发布您的公司简介，赶快发布吧！<a href="EditMyInfo.aspx">发布公司简介</a>
                </div>
                <h3>联系方式</h3>
                <div class="nameCard">
                    <div class="ncBox">
                        <h1>
                            <asp:Label ID="lblRealUserName" runat="server" Text="XXXXXX"></asp:Label>
                        </h1>
                        <h2>
                            <asp:Label ID="lblCompanyName2" runat="server" Text="XXXXXX"></asp:Label>
                        </h2>
                        <p>
                            电话：<asp:Label ID="lblPhone" runat="server" Text="XXXXXX"></asp:Label>
                        </p>
                        <p>
                            手机：<asp:Label ID="lblUserMobile" runat="server" Text="XXXXXX"></asp:Label>
                        </p>
                        <p>
                            传真：<asp:Label ID="lblUserFax" runat="server" Text="XXXXXX"></asp:Label>
                        </p>
                        <p>
                            邮箱：<asp:Label ID="lblEmail" runat="server" Text="XXXXXX"></asp:Label>
                        </p>
                        <p>
                            地址：<asp:Label ID="lblUserAddress" runat="server" Text="XXXXXX"></asp:Label>
                        </p>
                    </div>
                </div>
                <div>

                            <br />
                            <br />
                        </div>
                <!-- InstanceEndEditable -->
                <%--<div class="sectionContainer">--%>
                    <h3>我的供需列表<a href="MySupplyPurchaseList.aspx" style="float:right">更多</a></h3>
                    <div class="sectionArea" id="divHaveInfo" runat="server">
                        <ul class="newsList">
                            <asp:Repeater ID="rptNewsList" runat="server">
                                <ItemTemplate>
                                    <li>
                                        <%--<div class="time">
                                            <%# Convert.ToDateTime(Eval("CreateDate")).ToString("yyyy-MM-dd")%>
                                        </div>--%>
                                        <h4 style="text-align:right">
                                            <a href="#" style="float:left" onclick="viewcontent(<%#Eval("Id")%>)"><%#Eval("InfoTitle")%></a><%# Convert.ToDateTime(Eval("CreateDate")).ToString("yyyy-MM-dd")%></h4>
                                       <%-- <p>
                                            <%#GetShortProductDetail(Eval("ProductDetail").ToString())%>
                                        </p>--%>
                                    </li>
                                </ItemTemplate>
                            </asp:Repeater>
                        </ul>
                        <div>

                            <br />
                        </div>                        
                    </div>
                    <div id="divNoInfo" runat="server">
                            您还没有发布供需信息，快去发布吧！<a href="uc_1_1.aspx?RequestType=1">发布供需</a>
                    </div>
                <%--</div>--%>
            </div>
            <div class="clear"></div>
            <!-- InstanceEndEditable -->
        </div>
    </div>
</asp:Content>
